<!DOCTYPE html>
<html lang="cn">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  <title>圈子账本</title>
  <script src="https://as.alipayobjects.com/g/component/fastclick/1.0.6/fastclick.js"></script>
  <script>
      function setFontSize() {
          var deviceWidth = document.documentElement.clientWidth;
          if(deviceWidth > 640) deviceWidth = 640;
          document.documentElement.style.fontSize = deviceWidth / 16 + 'px';
      }
      document.addEventListener('DOMContentLoaded', function () {
          setFontSize()
          window.addEventListener('resize', setFontSize, false)
      }, false)

      if ('addEventListener' in document) {
          document.addEventListener('DOMContentLoaded', function() {
              FastClick.attach(document.body);
          }, false);
      }
      if(!window.Promise) {
          document.writeln('<script src="https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"'+'>'+'<'+'/'+'script>');
      }
  </script>
  <script>

    setFontSize()
  </script>
</head>
<body>
  <div id="root"></div>
</body>
</html>